package com.ngc.mall.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ngc.mall.common.configure.mybatisPlus.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * 部门domain
 * @author: chenxiaolin
 * @date 2023/10/28 19:10
**/
@TableName("department")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DepartmentDomain extends BaseDomain {
    private Long pid;
    private String name;
    private Integer sort;
    private Boolean isEnabled;
    @TableLogic
    private Boolean deleted;
}
